package model {
    import model.vo.GameVo;

    [Bindable]
    public class GameModelLocator {
        private static var instance:GameModelLocator;

        public var gameVo:GameVo = new GameVo();

        public static function getInstance():GameModelLocator {
            if (instance == null) {
                instance = new GameModelLocator(new SingletonEnforcer());
            }

            return instance;
        }

        public function GameModelLocator(enforcer:SingletonEnforcer) {
        }
    }
}

// The private class
class SingletonEnforcer {};
